﻿<%--
*
*描述：栏目表NET_CHANNEL的edit文件
*
* @author xyp 
*
--%>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@taglib prefix="f" uri="/flowpage-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title><s:property value="operate"/>栏目</title>
	<%@include file="/share/header.jsp"%>
	<s:head/>
        <f:header theme="${sessionScope.skinCon.pageSkin}"/>
  </head>
  <body>
  <s:actionerror/>
	    <s:form  action="save" namespace="/net/channel" validate="true" focusElement="domain.parent">
		    <s:hidden name="domain.parent.id"/>
		 	<s:if test="readonly">
		    	<s:textfield name="domain.parent.name" label="上级栏目" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}"  dataType="LimitB"  max="100"    maxlength="100"/>		 	
		 	</s:if>
		 	<s:else>
		    	<s:textfield name="domain.parent.name" label="上级栏目" multipleheight="1" multiplewidth="1" required="false" readonly="true" dataType="LimitB"   max="100"   maxlength="100" onclick="onDoSelectTree({title:'上级栏目',type:'Channel',excludeIds:'%{domain.id}',returnIdName:'domain.parent.id',returnTextName:'domain.parent.name'});" cssClass="SelectTree"/>		 	
		 	</s:else>
		    <s:textfield name="domain.name" label="名称"  required="true" multipleheight="1" multiplewidth="1" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="200"  maxlength="200"/>
		    <s:textfield name="domain.linkUrl" label="链接地址"  required="false" multipleheight="1" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="200"  maxlength="200"/>
<%--		    <s:textfield name="domain.historyDate" label="历史变更时间" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="Date"  >--%>
<%--			<s:param name="value">--%>
<%--		    	    <s:date name="domain.historyDate" format="yyyy-MM-dd"/>--%>
<%--		    	</s:param>--%>
<%--		    </s:textfield>--%>
<%--		    <s:textfield name="domain.lastWriteTime" label="最后变更时间" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="Date"  >--%>
<%--			<s:param name="value">--%>
<%--		    	    <s:date name="domain.lastWriteTime" format="yyyy-MM-dd"/>--%>
<%--		    	</s:param>--%>
<%--		    </s:textfield>--%>
		    <s:checkboxlist name="rolesChecked" label="栏目角色"  readonly="%{readonly||modifySelf}" disabled="%{readonly||modifySelf}" required="false" emptyOption="true" columnBreak="4" dataType="Group" list="roleList" listKey="id" listValue="name" multiplewidth="2"/>
		    <s:textfield name="domain.sequence" label="顺序" multipleheight="1" multiplewidth="1" required="true" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="4"  maxlength="4"/>
		    <s:radio label="是否弹出" name="domain.whetherPop" noborder="true" readonly="%{readonly}" disabled="%{disabled}" required="true" list="getCodeItemList('yes_no_pop')" listKey="value" listValue="name" />	
		    <s:radio label="是否使用" name="domain.state" noborder="true" readonly="%{readonly}" disabled="%{disabled}" required="true" list="getCodeItemList('yes_no')" listKey="value" listValue="name" />
		    <s:textarea name="domain.remark" label="备注"  required="false" multipleheight="2" multiplewidth="2" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="2000"  maxlength="2000"/>
<%--		    <s:textfield name="domain.version" label="版本" multipleheight="1" multiplewidth="1" required="false" readonly="%{readonly}" disabled="%{disabled}" dataType="LimitB"   max="4"  maxlength="4"/>--%>
	    </s:form>
  </body>
</html>
